package com.tongzhou.tongzhou.quot.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.quot.model.Paper;
import com.tongzhou.tongzhou.quot.model.SearchPaperCondition;

public interface IPaperDAO {
	public List<Paper> listPaper(SearchPaperCondition condition) throws DBException;
	public int addPaper(Paper paper) throws DBException;
	public void deletePaper(int id) throws DBException;
	public Paper getPaperById(int id) throws DBException;
	public void updatePaper(Paper paper) throws DBException;
	
	public List<Paper> getOnePaperList(int paper_type_id) throws DBException;
	public List<Paper> getTwoPaperList(int paper_type_id) throws DBException;
}
